package com.xopencode.spring.aop;

/**
 * @Auther: Mcb
 * @Date: 2022/3/15 23:45
 * @Description:
 */
public class MathCalculator {

   /* public int div(int i,int j) throws Exception {
        System.out.println("业务逻辑");

        throw new Exception("！！！！！！");

        //return i/j;
    }*/

    public int a(){
        System.out.println("待增强链接点A");
        return 1;
    }


    public void b(){
        a(); //此情况a方法不会进行aop增强
        System.out.println("待增强链接点B");
    }

}


